﻿using DevExtreme.AspNet.Data;
using Leo.Core.Domain;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories.MongoDB;
using Volo.Abp.MongoDB;

namespace Leo.Awesome.DictionaryManagement.Repositories
{
    public class BaseMongoDbAbpRepository<TMongoDbContext, TEntity, TKey> :
        MongoDbRepository<TMongoDbContext, TEntity, TKey>,
        IBaseAbpRepository<TEntity, TKey>
        where TMongoDbContext : IAbpMongoDbContext
        where TKey : struct
        where TEntity : class, IEntity<TKey>
    {
        public BaseMongoDbAbpRepository(IMongoDbContextProvider<TMongoDbContext> dbContextProvider) : base(dbContextProvider)
        {
        }

        public Task<TEntity> DevUpdateAsync(TKey key, string values)
        {
            throw new System.NotImplementedException();
        }

        public Task<object> GetDevListAsync(DataSourceLoadOptionsBase loadOptions)
        {
            throw new System.NotImplementedException();
        }
    }
}
